<extend name="myChange" />
<block name="userChangeRight">
            <form action="__CONTROLLER__/myChangeLogoWork/" method="post" accept-charset="utf-8" enctype="multipart/form-data">
                <div class="panel panel-default user-home user-login">
                    <div class="panel-heading">
                        用户头像
                    </div>
                     <div class="panel-body">
                         <div class="">
                             <input type="file" name="userlogo">
                             <input type="hidden" name="public" value="__PUBLIC__">
                             <div class="user-logo">
                                 <img src="__PUBLIC__/uploads/user/<{$userHomeRow[0]['userlogo']}>" alt="<{$userHomeRow[0]['username']}>" width="50px">
                             </div>
                             <div>
                             <h4><small><i class="fa fa-info"></i>  建议图片为方形！支持尺寸： 50 * 50 | 60 * 60 | 70 * 70 | 80 * 80 | 90 * 90 | 100 * 100 | </small></h4>
                             <h4><small><i class="fa fa-info"></i>  支持图片类型:png | jpg | jpeg | gif | bmp |</small></h4>
                             <h4><small><i class="fa fa-info"></i>  图片大小不超过2M</small></h4>
                             </div>
                         </div>
                     </div>
                    <div class="panel-footer">
                        <div class="form-group">
                        <button type="submit" id="userloginbutton" class="btn btn-primary"><i class="fa fa-upload"></i> 上传头像</button>
                        </div>
                    </div>
                </div>
             </form>
</block>